package com.panshi.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("类型实体类")
public class TypeBean implements Serializable {
    @ApiModelProperty("主题id")
    private int tid;

    @ApiModelProperty("主题名称")
    private String name;

    @ApiModelProperty("0启用 1停用")
    private int states;

    @ApiModelProperty("0文章 1问题")
    private int type;
}
